<?php
/**
 * @see template_preprocess_ajax_crabii_comment_box()
 */
?>
<div class="comment-box-wrapper">
  <?php if($placeholder): ?>
    <div class="placeholder"
       data-placeholder_count="<?php print $placeholder_count ?>"
       data-placeholder_suffix="<?php print $placeholder_suffix ?>"
       data-placeholder_singular="<?php print $placeholder_singular ?>"
       data-placeholder_plural="<?php print $placeholder_plural ?>"
       data-placeholder_target="<?php print $placeholder_target ?>"
      ><?php print CommonHelper::crabii_icon('comments-o') . '&nbsp;' . format_plural($placeholder_count, '1 ' . $placeholder_singular, '@count ' . $placeholder_plural) . ' ' . $placeholder_suffix ?></div>
  <?php endif; ?>
  <textarea class="comment-box form-control input-sm <?php print $view_mode ?>"
            data-nid="<?php print $nid ?>"
            data-view_mode="<?php print $view_mode ?>"></textarea>
</div>
